package com.vonchenchen.renderer;

import android.content.Context;

/**
 * Created by  on 2021/1/27.
 */
public class CameraEvaNative {

    public static native void initGlobalContext(Context context);

    public static native long createCameraEva();
    public static native void destoryCameraEva(long ptr);

    public native static void setVideoConfig(long ptr, VideoConfig config);
    public native static void setLocalView(long ptr, Object view, int mode, String name);

    public native static int startPreview(long ptr);
    public native static int stopPreview(long ptr);
}
